﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pattern20中介者模式.Base
{
    public abstract class MediatorBase
    {
        protected PlayerBase a;
        protected PlayerBase b;
        protected PlayerBase c;

        public MediatorBase(PlayerBase a, PlayerBase b, PlayerBase c)
        {
            this.a = a;
            this.b = b;
            this.c = c;
        }

        public abstract void AWin(int money);
        public abstract void BWin(int money);
        public abstract void CWin(int money);

        public abstract void ALose(int money);
        public abstract void BLose(int money);
        public abstract void CLose(int money);
    }
}
